package com.biyu.monitormanage.enums;

/**
 * 报警类型枚举类
 * @author 15491
 */
public enum PoliceEnums {
    /**
     * 无
     */
    NON_POLICE(0, "无"),

    /**
     * 邮件报警
     */
    MAIL_POLICE(1, "邮件报警"),

    /**
     * 短信报警
     */
    MSG_POLICE(2, "短信报警")

    ;

    private Integer code;

    private String desc;

    PoliceEnums(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
